package org.com.lcuiot.database.entity;

import io.mybatis.provider.Entity;

/**
 * 账户表
 *
 * @author gaoge
 * @since 2022-11-17 09:35:33
 */
@Entity.Table("account")
public class Account {

  	/**
     * ID
     */
	@Entity.Column(id = true)
	private Long id;

  	/**
     * 账号
     */
	private String username;

  	/**
     * 姓名
     */
	private String name;

  	/**
     * 密码
     */
	private String password;

  	/**
     * 机构ID
     */
	private Long organizationId;

  	/**
     * 手机号
     */
	private String mobile;

  	/**
     * 性别0女1男
     */
	private Integer sex;

  	/**
     * 创建时间
     */
	private Long createAt;

  	/**
     * 更新时间
     */
	private Long updateAt;


	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}

	public Long getOrganizationId() {
		return organizationId;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMobile() {
		return mobile;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getSex() {
		return sex;
	}

	public void setCreateAt(Long createAt) {
		this.createAt = createAt;
	}

	public Long getCreateAt() {
		return createAt;
	}

	public void setUpdateAt(Long updateAt) {
		this.updateAt = updateAt;
	}

	public Long getUpdateAt() {
		return updateAt;
	}

}
